<?php
/**
 *@author Connor <caokang@foxmail.com>
 *@todo
 *@link www.zeevin.com
 */
$form = $this->beginWidget('CActiveForm',array(
	'id'=>'user-formq',
    'enableAjaxValidation'=>true,
    'enableClientValidation'=>true,
    'htmlOptions'=>array('style'=>'color:red'),
    'clientOptions'=>array(
		'validateOnSubmit'=>true,
		'validateOnChange'=>true
	)
	));
?>


    <?php echo $form->labelEx($model,'taglist'); ?>
    <?php echo $form->textField($model,'taglist'); ?>
    <?php echo $form->error($model,'taglist'); ?>
    <?php echo $form->textField($model,'type'); ?>
    <?php echo $form->error($model,'type',array(),false,false); ?>
<?php $this->endWidget(); ?>

